package cn.tedu.charging.role.mapper;

import cn.tedu.charging.role.pojo.po.Role;
import cn.tedu.charging.common.pojo.po.RoleStaff;
import cn.tedu.charging.common.pojo.vo.RoleVO;
import cn.tedu.charging.common.pojo.param.RoleQuery;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleMapper extends BaseMapper<Role> {
    List<RoleVO> selectRole(RoleQuery roleQuery);

    List<RoleStaff> selectRoleStaff(RoleStaff roleStaff);

    void deleteRoleStaff(RoleStaff roleStaff);

    void addRoleStaff(RoleStaff roleStaff);
}
